//
//  LiveRoomViewControllerAudienceViewController.h
//  CYWFrame
//
//  Created by oldfish on 2018/8/9.
//  Copyright © 2018年 Macx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AgoraRtcEngineKit/AgoraRtcEngineKit.h>
#import "MallInLiveViewController.h"

//原TencentIM部分
#import "TXRTMPSDK/TXLivePlayer.h"
#import <AVFoundation/AVFoundation.h>
#import "TCPlayDecorateView.h"
#import "TCLiveListModel.h"
#import "TCPlayUGCDecorateView.h"
#import "TXRTMPSDK/TXUGCRecordTypeDef.h"
#import "TXRTMPSDK/TXUGCRecordListener.h"

@class LiveRoomViewControllerAudience;
@protocol LiveRoomVCADelegate <NSObject>
- (void)liveVCNeedClose:(LiveRoomViewControllerAudience *)liveVC;
@end

@interface LiveRoomViewControllerAudience : UIViewController

typedef void(^videoIsReadyBlock)();

@property (copy, nonatomic) NSString *channelId;
@property (assign, nonatomic) AgoraClientRole clientRole;
@property (assign, nonatomic) AgoraVideoProfile videoProfile;
@property (weak, nonatomic) id<LiveRoomVCADelegate> delegate;
@property (strong, nonatomic) MallInLiveViewController *mall;

//原IM部分
@property (nonatomic, assign) BOOL  enableLinkMic;
@property (nonatomic, assign) BOOL  log_switch;
@property (nonatomic, retain) TCPlayDecorateView *logicView;
@property (strong, nonatomic) TCLiveInfo *liveInfo;
@end
